<?php

/**
 * 日常服务网点处理程序文件
 */
define('IN_ECS', true);
require(dirname(__FILE__) . '/includes/init.php');
require(dirname(__FILE__) . '/controllers/ServiceAddressCatController.php');

$action = empty($_REQUEST['act']) ? 'list' : trim($_REQUEST['act']);

if (in_array($action, array('list'))) {
  $action = 'show' . ucwords($action);
}

$controller = new ServiceAddressCatController();
$controller->$action();
